<style lang="less" scoped>
  .showDetail{
    width: 100%;
    .line{
      height: 30px;
      line-height: 30px;
      display: flex;
      justify-content: flex-start;
      .label{
        // flex:0 0 120px;
      }
      .textValue{
        font-size: 20px !important;
        color: #1890FF;
        margin-right: 20px;
      }
    }
  }
  .table-page-search-wrapper{
    display: flex !important;
    justify-content: flex-start;
  }
</style>
<template>
  <page-header-wrapper>
    <a-card :bordered="false">
      <div class="showDetail">
        <div class="line">
          <div style="width: 300px;">
            <span class="label">核销数量：</span>
            <span class="textValue">{{loadData.write_count}}</span>
          </div>
          <div>
            <span class="label">核销总金额：</span>
            <span class="textValue">{{loadData.write_sum}}</span>
          </div>
        </div>
        <div class="line">
          <div style="width: 300px;">
            <span class="label">已完成数量：</span>
            <span class="textValue">{{loadData.com_count}}</span>
          </div>
          <div>
            <span class="label">已完成总金额：</span>
            <span class="textValue">{{loadData.com_sum}}</span>
          </div>
        </div>
        <!-- <div class="line">
          <div style="width: 300px;"><span class="label">接口下单数量：</span><span class="textValue">{{loadData.interface_number}}</span></div>
          <div><span class="label">接口下单金额：</span><span class="textValue">{{loadData.interface_sum}}</span></div>
        </div> -->
        <div class="line"><span class="label">下单总金额：</span><span class="textValue">{{loadData.order_sum}}</span></div>
      </div>
    </a-card>
  </page-header-wrapper>
</template>

<script>

  // import {
  //   SchoolRecursion
  // } from '../../../api/system'
  

  export default {
    name: 'statistics',
    components: {
      // STable
    },
    data() {
      return {
        // 加载数据方法 必须为 Promise 对象
        loadData: {
          
        }
      }
    },
    computed: {
      
    },
    mounted() {
      this.getOrderItemall()
    },
    methods: {
      getOrderItemall() {
        this.$productApi.OrderItemall().then(res => {
          this.loadData = res.data
        })
      }
    },
  }
</script>
